package com.dgw.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dgw.entity.Teacher;

public interface TeacherMapper {
    int deleteByPrimaryKey(String tId);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(String tId);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
    
    List<Teacher> selectByPageAndSelections(@Param(value = "keyword") String keyword);
}